class_name CheckBtn
extends CheckButton

func _init(text:String):
    self.text = text;
    self.rect_size = Vector2(100,50);
    _loadFont();

func _loadFont():
    var dynamic_font = DynamicFont.new()
    dynamic_font.font_data = load("res://assets/fonts/FZKTK.TTF")
    dynamic_font.size = 32
    self.set("custom_fonts/font", dynamic_font);
